home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / CC_C / 1116.ZIP / TOOLKIT.ARC / MODE.C < prev    next >
Text File  |  1979-12-31  |  547b  |  25 lines

  1.  
  2. /* MODE.C */
  3.  
  4. #include mode.h
  5. #include stdio.h
  6. #include cursor.h
  7.  
  8. main()
  9.        {
  10.          char a; int mode;
  11.          putchar(13);
  12.          mode = findmode(mode);
  13.          puts("Video mode = "); printf("%d",mode); putchar(13);
  14.          putchar(13);
  15.          puts("Press any key to continue ... "); a = getchar(a);
  16.          color(31);
  17.          puts("White on Blue");
  18.          vblock(66,5,20,10,50);
  19.          cursor(7,25); puts("A noticeable spot.");
  20.          cursor(22,0); puts("End of MODE.C demo program.");
  21.        }
  22.  
  23.  
  24.  
  25.